<%@ page contentType="text/html;charset=UTF-8" language="java" import="iso3.pt.action.*" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
    <link href="<s:url value="/css/main.css"/>" rel="stylesheet" type="text/css"/>
	<title><s:text name="application.title"/></title>
</head>

<body>
	
	<s:actionerror/>
	<div class="titleDiv"><s:text name="application.title"/></div>
	<h1><s:text name="label.registrationform"/> <s:property value="student.nombre"/> (<s:property value="student.Dni"/>)</h1>

	<s:form action="studentAction!doEnrrollment">
		<s:actionerror/>
			<s:select name="subjectID" list="subjectsList" listKey="id" listValue="nombre" label="%{getText('label.registration.subject')}"/>	
			<s:submit value="%{getText('label.button.submitMatric')}"/>				
			<s:submit value="%{getText('label.button.cancel')}" name="redirect-action:studentAction"/>
	</s:form>
		
</body>
</html>